package com.pyue.eam.admin.api.entity.regi;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pyue.eam.admin.api.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 任务日报
 *
 * @date 2023-12-23 08:19:25
 */
@Data
@TableName("cq_task_day")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "任务日报")
public class CqTaskDayEntity extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private Long id;

    /**
     * 任务 id
     */
    @Schema(description = "任务id")
    private Long taskId;

    /**
     * 提交人微信头像
     */
    @Schema(description = "提交人微信头像")
    private String userAvatar;

    /**
     * 工作日期
     */
    @Schema(description = "时间")
    private String dayTime;

    /**
     * 开始
     */
    @Schema(description = "开始")
    private String startTime;

    /**
     * 结束
     */
    @Schema(description = "结束")
    private String endTime;

    /**
     * 总工时(H)
     */
    @Schema(description = "总工时")
    private Double countHour;

    /**
     * 正常时(H)
     */
    @Schema(description = "正常时(H)")
    private Double workRangeHour;

    /**
     * 加班时(H)
     */
    @Schema(description = "加班时(H)")
    private Double overworkHour;

    /**
     * 正常时费(元)
     */
    @Schema(description = "正常时费(元)")
    private Double workRangePrice;

    /**
     * 加班时费(元)
     */
    @Schema(description = "加班时费(元)")
    private Double overworkPrice;

    /**
     * 每小时工时费(元)
     */
    @Schema(description = "每小时工时费")
    private Double workHour;

    /**
     * 总工时费(元)(加班费+计时费)
     */
    @Schema(description = "总工时费")
    private Double countWorkerPrice;

    /**
     * 假期备注
     */
    @Schema(description = "假期备注")
    private String holidayRemark;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

}
